import React from "react"
import { View, Text, Image, ActivityIndicator } from "react-native"
import { scale } from "react-native-size-matters"
import { icons } from "../assets/icons"
import { colors } from "app/theme"

const LoaderComponent = () => {
  return (
    <View
      style={{
        alignItems: "center",
        justifyContent: "center",
      }}
    >
      <Image style={{ height: scale(50), width: scale(50) }} source={icons.logo} />
      <ActivityIndicator size="large" color={colors.orange} />
    </View>
  )
}

export default LoaderComponent
